<div class="content">
    <div class="row">
        <div class="col-md-12">
            <custom-tab tab-item-list="tabItemList"></custom-tab>
            <div class="portlet-header " style="margin-top: 10px">
                <div class="operation-btn pull-left">
                    <a class="btn blue" href="javascript:;" ng-click="create()">新增</a>
                </div>
                <div class="operation-btn pull-right">
                    <form class="form-inline" role="form">
                        <div class="form-group">
                            <select name="modelName"
                                    class="select2-container form-control ng-isolate-scope ng-pristine ng-valid"
                                    data-placeholder="--模型名称--"
                                    ng-model="condition.modelName" select2 style="min-width: 200px;">
                                <option ng-repeat="modelName in modelList" value="{{modelName.key}}"
                                        ng-bind="modelName.text"></option>
                            </select>
                        </div>
                        <div class="form-group">
                            <input type="text" class="form-control" placeholder="请输入" ng-model="condition.search">
                        </div>
                        <button type="button" class="btn blue" ng-click="search()">查询</button>
                    </form>
                </div>
            </div>
            <div class="portlet-body">
                <ng-table
                        columns="columns"
                        sort="sort"
                        order="order"
                        rows="rows"
                        pageable="pageable">
                </ng-table>
            </div>
        </div>
    </div>
</div>

<script type="text/ng-template" id="operation.html">
    <a class="btn blue btn-xs" ng-click="onActionClick(row,'search')">查询</a>
    <a class="btn blue btn-xs" ng-click="onActionClick(row,'edit')">编辑</a>
    <a class="btn blue btn-xs" ng-click="onActionClick(row,'deploy')">配置</a>
</script>